package com.gaojx.lang.rule;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author junxiang.gao
 * @since 2020/8/19
 */
public class NormalJavaRule implements IRule {

    private static final Logger LOGGER = LoggerFactory.getLogger(NormalJavaRule.class);

    @Override
    public int getType() {
        return NORMAL_TYPE;
    }

    @Override
    public void printInfo() {
        LOGGER.info("正常的JAVA实现");
        printInfoAfter();
    }

    public void printInfoAfter() {
        LOGGER.info("正常的JAVA实现 {}", "printInfoAfter");
    }
}
